
package com.applink.sell_proof.fragment.adapter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;

import com.applink.sell_proof.fragment.TipsLifyStyle;


/**
 * @author Hoang Viet
 * 
 */
public class LifeFragmentPagerAdapter extends BaseFragmentPagerAdapter
{	
	private static final String[] TITLES = new String[] {"ANNOUCEMENT"};//, "QUIZ"};

	public LifeFragmentPagerAdapter(FragmentManager fm)
	{
		super(fm, TITLES);
	}

	@Override
	public Fragment getItem(int index)
	{		
		switch (index)
		{
			case 0:
				TipsLifyStyle fragment0 = new TipsLifyStyle();
				mFragments.put(index, fragment0);
				return fragment0;
//
//			case 1:
//				QuizLifeFragment quiz = new QuizLifeFragment();
//				mFragments.put(index, quiz);
//				return quiz;
			default:
				return null;
		}
	}
}
